#ifndef CATEGORYDAO_H
#define CATEGORYDAO_H

#include <QString>
#include <QList>

class MoneyCategory;

MoneyCategory* searchForCategory(QList<MoneyCategory*> listMoneyCategory, int idCategory);

MoneyCategory* getCategory(MoneyCategory* incompleteCat, int id_user);

QList<MoneyCategory*> getAllMoneyCategory(int id_user);

bool deleteMoneyCategory(MoneyCategory* category);

bool updateMoneyCategory(MoneyCategory* category);

bool registerMoneyCategory(MoneyCategory* category, int id_user);

#endif // CATEGORYDAO_H
